package com.yt.server.mode.patterns.command;

import com.yt.server.mode.api.ICommand;
import com.yt.server.mode.api.INotification;
import com.yt.server.mode.api.IProxy;
import com.yt.server.mode.patterns.observer.Notifier;

public class Command extends Notifier implements ICommand {

	protected String commandName = "CommandName";

	public Command() {
	}

	public Command(String commandName) {
		if (commandName != null)
			this.commandName = commandName;
	}

	public String getCommandName() {
		return commandName;
	}
	
	public IProxy getProxy(){
		return null;
	}

	public void handleNotification(INotification notification) {
	}

	public void onRegister() {
	}

	public void onRemove() {
	}
}
